package generics;

import java.util.Date;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		DateInterval interval = new DateInterval();
		Pair<Date> pair = interval; // OK--assignment to superclass
		pair.setFirst(new Date(1));
		pair.setSecond(new Date(0));
	}
}
